package 进阶.IO.字节流.输出;

import java.io.FileOutputStream;
import java.io.IOException;

public class demo02_output {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("d:/a.txt");

        byte[] bytes = {56,57,58,59,60};
        byte[] bytes1 = "hello world".getBytes();
        fos.write(bytes1);
        fos.close();
    }
}
